package com.cimctech.socketdemo.schedule;

import android.util.Log;

import com.cimctech.socketdemo.SocketThread;

import java.util.TimerTask;

public class PositionSchedule extends TimerTask {

    private static final String TAG = "PositionSchedule";
    private SocketThread socketThread;

    public PositionSchedule(SocketThread socketThread) {
        this.socketThread = socketThread;
    }

    @Override
    public void run() {
        String str = "*ZJ01866957033457585A2485.6174N10285.8327E1450001905152344007B#";
        Log.e(TAG, "run: " + str);
        socketThread.Send(str + "\n");
    }

}
